<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My Table</title>
</head>

<body>
	<center>
		<h1>My first table</h1>
		<table>
			<tr>
				<td>name</td>
				<td><input type="text"></td>
			</tr>
			<tr>
				<td>sex</td>
				<td><input type="radio" name="sex" value="male">male<input type="radio" name="sex" value="female">female</td>
			</tr>
			<tr>
				<td>age</td>
				<td><input type="text"></td>
			</tr>
			<tr>
				<td>constell</td>
				<td><select>
						<option>处女座1
						<option>处女座2
						<option>处女座3
						<option>处女座4
						<option>处女座5
						<option>处女座6
				</select></td>
			</tr>
			<tr>
				<td>hobby</td>
				<td><input type="checkbox">run<input type="checkbox">jump<input type="checkbox">swim<input type="checkbox">dance</textarea></td>
			</tr>
			<tr>
				<td>remark</td>
				<td><textarea rows="3" cols="40"></textarea></td>
			</tr>
			<tr align="center">
				<td colspan="2"><button type="submit">submit</button><button type="reset">reset</button></td>
			</tr>
		</table>
	</center>
	<br>
</body>
</html>
